package com.exposit.smarthouse.sensor.impl;

import com.exposit.smarthouse.obj.impl.*;
import com.exposit.smarthouse.sensor.*;
import com.exposit.smarthouse.state.*;
import com.exposit.smarthouse.utils.*;

public class SmokeSensorImpl extends SensorEntity implements SmokeSensor
{
    private SmokeState state;

    public SmokeSensorImpl()
    {
        super.setType(TYPE);
    }

    @Override
    public SmokeState getState()
    {
        return state;
    }

    @Override
    public void setState(SmokeState state)
    {
        this.state = state;
    }
}
